let apiBaseUrl = () => {
  let baseUrl = ''
  if (process.env.NODE_ENV == 'development') {
    baseUrl = 'https://mhj.muhoujie.com'
    // baseUrl = 'http://122.51.94.225:4003'
  } else {
    if (window.location.origin.indexOf('test') > -1) {
      baseUrl = 'https://mhj.muhoujie.com'
      // baseUrl = 'http://122.51.94.225:4003'
    } else {
      baseUrl = 'https://mhj.muhoujie.com'
      // baseUrl = 'http://122.51.94.225:4003'
    }
  }
  return baseUrl
}
export const API_BASE_URL = apiBaseUrl()
